package com.example.nftapp.beans;

/**
 * 数字藏品实体类
 */
public class Product {
    private int resId;
    private String productName;
    private float productPrice;
    private float priceChange;

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public float getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(float productPrice) {
        this.productPrice = productPrice;
    }

    public float getPriceChange() {
        return priceChange;
    }

    public void setPriceChange(float priceChange) {
        this.priceChange = priceChange;
    }

    public Product(int resId, String productName, float productPrice, float priceChange) {
        this.resId = resId;
        this.productName = productName;
        this.productPrice = productPrice;
        this.priceChange = priceChange;
    }
}
